﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace GpsTagger.Interface
{
    public partial class settingsFrm : Form
    {
        private mainFrm mainFrmRef;
        public settingsFrm(mainFrm form)
        {
            InitializeComponent();
            mainFrmRef = form;
        }

        private void settingsFrm_Load(object sender, EventArgs e)
        {
            copyrightTextBox.Text = mainFrmRef.CopyrightField;
        }

        private void button1_Click(object sender, EventArgs e)
        {
            mainFrmRef.CopyrightField = copyrightTextBox.Text;
            Close();
        }
    }
}
